<?php
class Admin_Table_RulePrivilege extends Apk_Db_Table
{
    protected $_name = 'accounts_rules_privileges';

	protected $_referenceMap    = array(
                                        'Rule' => array(
                                            'columns'           => array('rule_id'),
                                            'refTableClass'     => 'Admin_Table_Rule',
                                            'refColumns'        => array('id'),
                                            'onDelete'          => self::CASCADE
                                        ),
                                        'Privilege' => array(
                                            'columns'           => array('privilege_id'),
                                            'refTableClass'     => 'Admin_Table_Privilege',
                                            'refColumns'        => array('id')
                                        ));
}
?>